package com.local.model;

import java.util.ArrayList;
import java.util.List;

public class LocalTimerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LocalTimerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andCarInDaysIsNull() {
            addCriterion("car_in_days is null");
            return (Criteria) this;
        }

        public Criteria andCarInDaysIsNotNull() {
            addCriterion("car_in_days is not null");
            return (Criteria) this;
        }

        public Criteria andCarInDaysEqualTo(String value) {
            addCriterion("car_in_days =", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysNotEqualTo(String value) {
            addCriterion("car_in_days <>", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysGreaterThan(String value) {
            addCriterion("car_in_days >", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysGreaterThanOrEqualTo(String value) {
            addCriterion("car_in_days >=", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysLessThan(String value) {
            addCriterion("car_in_days <", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysLessThanOrEqualTo(String value) {
            addCriterion("car_in_days <=", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysLike(String value) {
            addCriterion("car_in_days like", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysNotLike(String value) {
            addCriterion("car_in_days not like", value, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysIn(List<String> values) {
            addCriterion("car_in_days in", values, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysNotIn(List<String> values) {
            addCriterion("car_in_days not in", values, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysBetween(String value1, String value2) {
            addCriterion("car_in_days between", value1, value2, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInDaysNotBetween(String value1, String value2) {
            addCriterion("car_in_days not between", value1, value2, "carInDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysIsNull() {
            addCriterion("car_in_history_days is null");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysIsNotNull() {
            addCriterion("car_in_history_days is not null");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysEqualTo(String value) {
            addCriterion("car_in_history_days =", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysNotEqualTo(String value) {
            addCriterion("car_in_history_days <>", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysGreaterThan(String value) {
            addCriterion("car_in_history_days >", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysGreaterThanOrEqualTo(String value) {
            addCriterion("car_in_history_days >=", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysLessThan(String value) {
            addCriterion("car_in_history_days <", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysLessThanOrEqualTo(String value) {
            addCriterion("car_in_history_days <=", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysLike(String value) {
            addCriterion("car_in_history_days like", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysNotLike(String value) {
            addCriterion("car_in_history_days not like", value, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysIn(List<String> values) {
            addCriterion("car_in_history_days in", values, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysNotIn(List<String> values) {
            addCriterion("car_in_history_days not in", values, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysBetween(String value1, String value2) {
            addCriterion("car_in_history_days between", value1, value2, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarInHistoryDaysNotBetween(String value1, String value2) {
            addCriterion("car_in_history_days not between", value1, value2, "carInHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysIsNull() {
            addCriterion("car_out_days is null");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysIsNotNull() {
            addCriterion("car_out_days is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysEqualTo(String value) {
            addCriterion("car_out_days =", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysNotEqualTo(String value) {
            addCriterion("car_out_days <>", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysGreaterThan(String value) {
            addCriterion("car_out_days >", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysGreaterThanOrEqualTo(String value) {
            addCriterion("car_out_days >=", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysLessThan(String value) {
            addCriterion("car_out_days <", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysLessThanOrEqualTo(String value) {
            addCriterion("car_out_days <=", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysLike(String value) {
            addCriterion("car_out_days like", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysNotLike(String value) {
            addCriterion("car_out_days not like", value, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysIn(List<String> values) {
            addCriterion("car_out_days in", values, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysNotIn(List<String> values) {
            addCriterion("car_out_days not in", values, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysBetween(String value1, String value2) {
            addCriterion("car_out_days between", value1, value2, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutDaysNotBetween(String value1, String value2) {
            addCriterion("car_out_days not between", value1, value2, "carOutDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysIsNull() {
            addCriterion("car_out_history_days is null");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysIsNotNull() {
            addCriterion("car_out_history_days is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysEqualTo(String value) {
            addCriterion("car_out_history_days =", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysNotEqualTo(String value) {
            addCriterion("car_out_history_days <>", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysGreaterThan(String value) {
            addCriterion("car_out_history_days >", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysGreaterThanOrEqualTo(String value) {
            addCriterion("car_out_history_days >=", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysLessThan(String value) {
            addCriterion("car_out_history_days <", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysLessThanOrEqualTo(String value) {
            addCriterion("car_out_history_days <=", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysLike(String value) {
            addCriterion("car_out_history_days like", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysNotLike(String value) {
            addCriterion("car_out_history_days not like", value, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysIn(List<String> values) {
            addCriterion("car_out_history_days in", values, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysNotIn(List<String> values) {
            addCriterion("car_out_history_days not in", values, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysBetween(String value1, String value2) {
            addCriterion("car_out_history_days between", value1, value2, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andCarOutHistoryDaysNotBetween(String value1, String value2) {
            addCriterion("car_out_history_days not between", value1, value2, "carOutHistoryDays");
            return (Criteria) this;
        }

        public Criteria andAttrIsNull() {
            addCriterion("attr_ is null");
            return (Criteria) this;
        }

        public Criteria andAttrIsNotNull() {
            addCriterion("attr_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttrEqualTo(String value) {
            addCriterion("attr_ =", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrNotEqualTo(String value) {
            addCriterion("attr_ <>", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrGreaterThan(String value) {
            addCriterion("attr_ >", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrGreaterThanOrEqualTo(String value) {
            addCriterion("attr_ >=", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrLessThan(String value) {
            addCriterion("attr_ <", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrLessThanOrEqualTo(String value) {
            addCriterion("attr_ <=", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrLike(String value) {
            addCriterion("attr_ like", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrNotLike(String value) {
            addCriterion("attr_ not like", value, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrIn(List<String> values) {
            addCriterion("attr_ in", values, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrNotIn(List<String> values) {
            addCriterion("attr_ not in", values, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrBetween(String value1, String value2) {
            addCriterion("attr_ between", value1, value2, "attr");
            return (Criteria) this;
        }

        public Criteria andAttrNotBetween(String value1, String value2) {
            addCriterion("attr_ not between", value1, value2, "attr");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNull() {
            addCriterion("attr2_ is null");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNotNull() {
            addCriterion("attr2_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttr2EqualTo(String value) {
            addCriterion("attr2_ =", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotEqualTo(String value) {
            addCriterion("attr2_ <>", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThan(String value) {
            addCriterion("attr2_ >", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThanOrEqualTo(String value) {
            addCriterion("attr2_ >=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThan(String value) {
            addCriterion("attr2_ <", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThanOrEqualTo(String value) {
            addCriterion("attr2_ <=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Like(String value) {
            addCriterion("attr2_ like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotLike(String value) {
            addCriterion("attr2_ not like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2In(List<String> values) {
            addCriterion("attr2_ in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotIn(List<String> values) {
            addCriterion("attr2_ not in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Between(String value1, String value2) {
            addCriterion("attr2_ between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotBetween(String value1, String value2) {
            addCriterion("attr2_ not between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNull() {
            addCriterion("attr3_ is null");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNotNull() {
            addCriterion("attr3_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttr3EqualTo(String value) {
            addCriterion("attr3_ =", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotEqualTo(String value) {
            addCriterion("attr3_ <>", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThan(String value) {
            addCriterion("attr3_ >", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThanOrEqualTo(String value) {
            addCriterion("attr3_ >=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThan(String value) {
            addCriterion("attr3_ <", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThanOrEqualTo(String value) {
            addCriterion("attr3_ <=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Like(String value) {
            addCriterion("attr3_ like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotLike(String value) {
            addCriterion("attr3_ not like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3In(List<String> values) {
            addCriterion("attr3_ in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotIn(List<String> values) {
            addCriterion("attr3_ not in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Between(String value1, String value2) {
            addCriterion("attr3_ between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotBetween(String value1, String value2) {
            addCriterion("attr3_ not between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr4IsNull() {
            addCriterion("attr4_ is null");
            return (Criteria) this;
        }

        public Criteria andAttr4IsNotNull() {
            addCriterion("attr4_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttr4EqualTo(String value) {
            addCriterion("attr4_ =", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotEqualTo(String value) {
            addCriterion("attr4_ <>", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4GreaterThan(String value) {
            addCriterion("attr4_ >", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4GreaterThanOrEqualTo(String value) {
            addCriterion("attr4_ >=", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4LessThan(String value) {
            addCriterion("attr4_ <", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4LessThanOrEqualTo(String value) {
            addCriterion("attr4_ <=", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4Like(String value) {
            addCriterion("attr4_ like", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotLike(String value) {
            addCriterion("attr4_ not like", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4In(List<String> values) {
            addCriterion("attr4_ in", values, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotIn(List<String> values) {
            addCriterion("attr4_ not in", values, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4Between(String value1, String value2) {
            addCriterion("attr4_ between", value1, value2, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotBetween(String value1, String value2) {
            addCriterion("attr4_ not between", value1, value2, "attr4");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}